package com.inspur.ydt.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.incubator.service.RoleService;
import com.inspur.ydt.mapper.TestMapper;
import com.inspur.ydt.service.TestService;

@Service("testService26")
public class TestServiceImpl implements TestService{
	
	@Autowired
	TestMapper testMapper;

	public boolean getInfo(String key, String url) {
		
		
		Map<String,String> result= testMapper.getInfo(key,url);
		System.out.println(result);
		if ("true".equals(result.get("RESULT"))) {
			return true;
		} else {
			return false;
		}
	}
	

	
	
	
}
